package com.xuchen.zhenyang.entity.statistics;

import com.baomidou.mybatisplus.enums.IdType;
import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author xuchen
 * @since 2019-05-06
 */
@Data
public class StatisticsGoodsYear implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * yyyy
     */
    private Integer yearTime;
    /**
     * 商品id
     */
    private Integer goodsId;
    /**
     * 该年销售数量
     */
    private BigDecimal saleCount;
    /**
     * 该年销售总额
     */
    private BigDecimal saleMoney;
    /**
     * 总成本价
     */
    private BigDecimal originalMoney;
    /**
     * 总利润
     */
    private BigDecimal gainMoney;
    private Date updateTime;
}
